<?php
$file=fopen("led_status.txt","r") or exit("Unable to open led_status.txt!");
$data = fread($file,filesize("led_status.txt"));
fclose($file);
echo $data;
?>